package com.lm.geode.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.gemfire.mapping.annotation.Region;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Region("Users")  // 对应 Geode region 名称
public class User {
    @Id
    private Long id;
    private String name;
    private Integer age;
}